package com.neuedu.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serial;

/**
 *  实体类。
 *
 * @author Administrator
 * @since 2024-04-23
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table("department")
public class Department implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    @Id(keyType = KeyType.Auto)
    private Integer id;

    /**
     * 科室编码
     */
    private String deptCode;

    /**
     * 科室名称
     */
    private String deptName;

    /**
     * 科室类型（门诊、检查、检验、处置）
     */
    private String deptType;

    /**
     * 生效标记
     */
    private Integer delmark;

}
